package cn.xyfmzmy.composite.express;

/**
 * 单一数字表达式
 */
public class NumberExperssion implements Expression {

    private int value;

    public NumberExperssion(int value) {
        this.value = value;
    }

    @Override
    public int getValue() {
        return this.value;
    }
}
